package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商家端菜单
 * </p>
 *
 * @author ${author}
 * @since 2024-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_store_menu")
@ApiModel(value="StoreMenu对象", description="商家端菜单")
public class StoreMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单ID")
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Long menuId;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "类型")
    private Integer menuType;

    @ApiModelProperty(value = "父菜单ID")
    private Long parentId;

    @ApiModelProperty(value = "显示顺序")
    private Integer sort;

    @ApiModelProperty(value = "路由地址")
    private String path;

    @ApiModelProperty(value = "组件路径")
    private String component;

    @ApiModelProperty(value = "权限类型")
    private Integer permsType;

    @ApiModelProperty(value = "后端权限字符串")
    private String apiPerms;

    @ApiModelProperty(value = "前端权限字符串")
    private String webPerms;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "功能点关联菜单ID")
    private Long contextMenuId;

    @ApiModelProperty(value = "是否为外链")
    private Boolean frameFlag;

    @ApiModelProperty(value = "外链地址")
    private String frameUrl;

    @ApiModelProperty(value = "是否缓存")
    private Boolean cacheFlag;

    @ApiModelProperty(value = "显示状态")
    private Boolean visibleFlag;

    @ApiModelProperty(value = "禁用状态")
    private Boolean disabledFlag;

    @ApiModelProperty(value = "删除状态")
    private Boolean deletedFlag;

    @ApiModelProperty(value = "创建人")
    private Long createUserId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUserId;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
